package com.example.springboot2022nocv.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@TableName("hesuan")
@Data
public class HeSuan {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;
    private Integer age;
    private String phone;
    private String card;

    private String type;//混检 单检
    private String result;//核算结果

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
